package com.cz.register;

public class test11 {
    public static void main(String[] args) {
        int[] arr = new int[5];
//        System.out.println(arr[5]); // 索引越界
        System.out.println(arr[4]);

        arr[0] = 100;
        arr[3] = 20;

        System.out.println(arr[0]);
        System.out.println(arr[2]);
        System.out.println(arr[3]);
    }
}
